<script>
	import UserForm from '@/common/UserForm.js'
	export default {
		onLaunch: function() {
			// #ifdef APP-PLUS
			// 锁定屏幕为竖屏
			plus.screen.lockOrientation('portrait-primary');
			// #endif
		},
		onShow: function() {
			console.log('app.onShow')
			UserForm.displayLogin();
		},
		onHide: function() {
			console.log('App Hide')
		},
		methods: {
			// 获取当前的位置信息
		}
	}
</script>

<style lang="scss">
	/* 每个页面公共css */
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "uview-ui/index.scss";

	page {
		background-color: #ededed;
	}

	.main {
		background-color: #FFFFFF;
		min-height: 100vh;

		.g-position-bottom {
			position: fixed;
			width: 100%;
			bottom: 0;
		}
	}

	.content {
		.g-position-bottom {
			position: fixed;
			width: 100%;
			bottom: 0;
		}
	}

	.navbar-right {
		margin-right: 24upx;
		display: flex;
		font-size: 24upx;
		font-weight: normal;
		color: rgb(255, 255, 255);
	}

	.g-position-bottom {
		position: fixed;
		width: 100%;
		bottom: 0;
	}
</style>
